/**
 * 
 */
package com.ynet.middleground.user.dto;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author songyf
 *
 */
@Data
@ApiModel(value = "钉钉专用港内组织机构角色员工查询", description = "钉钉专用港内组织机构角色员工查询")
public class DingTalkSearchOrgRelationDTO  implements Serializable {

    private static final long serialVersionUID = -6901165667098205693L;
    /**
     * 父类id
     */
    @ApiModelProperty(value = "父类id", notes = "父类id")
    private Integer parentId;

    /**
     * 机构/部门id
     */
    @ApiModelProperty(value = "机构/部门id", notes = "机构/部门id")
    private Integer organizationalId;

    /**
     * 类型(机构、部门)0-机构，1-部门
     */
    @ApiModelProperty(value = "类型(机构、部门)0-机构，1-部门", notes = "类型(机构、部门)0-机构，1-部门")
    private String organizationalType;

    /**
     * 机构/部门编码
     */
    @ApiModelProperty(value = "机构/部门编码", notes = "机构/部门编码")
    private String organizationalCode;

    /**
     * 机构/部门名称
     */
    @ApiModelProperty(value = "机构/部门名称", notes = "机构/部门名称")
    private String organizationalName;

    /**
     * 是否可用(必填)，0-可用，1-不可用
     */
    @ApiModelProperty(value = "是否可用(必填)，0-可用，1-不可用", notes = "是否可用(必填)，0-可用，1-不可用")
    private String flag;

    /**
     * 渠道
     */
    @ApiModelProperty(value = "渠道", notes = "渠道")
    private String channel;

    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段", notes = "排序字段")
    private Integer sortNumber;

    /**
     * 角色
     */
    @ApiModelProperty(value = "钉钉用港内员工角色列表", notes = "钉钉用港内员工角色列表")
    private List<DingTalkSearchInPortRoleDto> inPortRoleList;
}
